package xyz.chenyongpeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import xyz.chenyongpeng.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="ZsGoodsRefundPercent对象", description="")
public class ZsGoodsRefundPercent extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "grp_id", type = IdType.AUTO)
    private Integer grpId;

    @ApiModelProperty(value = "商品ID")
    private Integer goodsId;

    @ApiModelProperty(value = "退款比例")
    private Integer refundPercent;

    @ApiModelProperty(value = "订单失效前 几 小时")
    private Integer partRefundHour;

    @ApiModelProperty(value = "订单失效前 几 分钟")
    private Integer partRefundMinute;


}
